import 'package:flutter/material.dart';

void main() {
  runApp(new MaterialApp(
    home: Scaffold(
      appBar: AppBar(
        title: Text("Row配置说明"),
      ),
      body: Row(
        // 类似LnearLayout 横向排列
        mainAxisSize: MainAxisSize.max,//min 主轴方向适应内容大小，max主轴方向充满父容器大小
        crossAxisAlignment: CrossAxisAlignment.end, //副轴方向内容左对齐
        mainAxisAlignment: MainAxisAlignment.start,//主轴方向内容底部对齐
        textDirection: TextDirection.ltr,//文本对齐方式
        verticalDirection: VerticalDirection.up,

        children: <Widget>[
          Text("1111" * 1,style: TextStyle(fontSize: 20),),
          Text("2222" * 2,style: TextStyle(fontSize: 40),),
          Text("3333" * 1)
        ],
      ),
    ),
  ));
}
